<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\GkyWeFans */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="gky-we-fans-form">
    <div class="panel panel-default">
        <!--<div class="panel-heading text-center" style="background: #003eff;color:white">gky-we-reply-fans</div>-->
        <div class="panel-body">
            <?php
            $form = ActiveForm::begin([
                        'options' => ['class' => 'form-horizontal form-group'],
                        'fieldConfig' => [
                            'template' => "{label}<div class=\"col-lg-10\">{input}</div>",
                            'labelOptions' => ['class' => 'col-lg-2 control-label'],
                        ]
            ]);
            ?>
            <!--            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
            <?= $form->field($model, 'weid')->textInput() ?>
                        </div>-->
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'wename')->textInput(['maxlength' => true]) ?>
            </div>
            <!--            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
            <?= $form->field($model, 'openid')->textInput(['maxlength' => true]) ?>
                        </div>-->
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'nickname')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'sex')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'language')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'city')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'province')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'country')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'headimgurl')->textInput(['maxlength' => true]) ?>
            </div>
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'subscribe_time')->textInput() ?>
            </div>
            <!--            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
            <?= $form->field($model, 'unionid')->textInput(['maxlength' => true]) ?>
                        </div>-->
            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
                <?= $form->field($model, 'remark')->textInput(['maxlength' => true]) ?>
            </div>
            <!--            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
            <?= $form->field($model, 'groupid')->textInput(['maxlength' => true]) ?>
                        </div>-->
            <!--            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
            <?= $form->field($model, 'valid')->textInput() ?>
                        </div>-->
            <!--            <div class="col-lg-4 col-xs-12 col-sm-4 col-md-4">
            <?= $form->field($model, 'unsubscribtime')->textInput(['maxlength' => true]) ?>
                        </div>-->
            <div class="col-lg-12 col-xs-12 col-sm-12 col-md-12">
                <div class="form-group">
                    <?= Html::submitButton('保存', ['class' => 'btn btn-success col-lg-offset-5 col-md-offset-5']) ?>
                    <?= Html::a('返回', ['index'], ['class' => 'btn btn-primary','style'=>'margin-left:5px']) ?>
                </div>
            </div>


            <?php ActiveForm::end(); ?>
        </div>
    </div>
</div>
